package com.yeyks.common.appcommon.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 */
@ApiModel(description = "入住通知相关参数")
@Data
public class AppMessageDTO implements Serializable {

    private static final long serialVersionUID = -6021031936191973920L;

    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("创建时间")
    private Date gmtCreate;

    @ApiModelProperty("修改时间")
    private Date gmtModified;

    @ApiModelProperty("题目")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    /**
     * 独发消息者的ID
     */
    @ApiModelProperty("独发消息者的ID")
    private Integer toUserId;

    @ApiModelProperty("酒店ID")
    private Integer hotelId;

    /**
     * 发送到账户类型
     */
    @ApiModelProperty("发送到账户类型")
    private String toUserType;

    /**
     * 消息类型
     */
    @ApiModelProperty("消息类型")
    private Integer type;

    @ApiModelProperty("入住消息组装")
    private String contextMessage;
}
